﻿// SequencerPositionChangedEventArgs.cs 
// Adapted from Charles Petzold
// http://www.charlespetzold.com/blog/2009/07/Simple-Electronic-Music-Sequencer-for-Silverlight.html

using System;

namespace Kindohm.KSynth.Library
{
    public delegate void SequencerPositionChangedEventHandler(object sender, SequencerPositionChangedEventArgs args);

    public class SequencerPositionChangedEventArgs : EventArgs
    {
        public SequencerPositionChangedEventArgs(int positionIndex, TimeSpan elapsedTime)
        {
            PositionIndex = positionIndex;
            ElapsedTime = elapsedTime;
        }

        public int PositionIndex { get; set; }
        public TimeSpan ElapsedTime { get; set; }
    }


}
